package main 

import (
	"fmt"
	"unsafe"
)

func main(){

	var i float32=1000.456

	fmt.Printf("i type :%T,i sizeof:%d\n",i,unsafe.Sizeof(i))

	var j float32 = -0.32523532

	var k float64 = -436346435235325325235

	fmt.Println(i,j,k)


	//数据类型默认是float64
	var m = 54.3

	h:=5.43
	g:=.33 //var g float54 = 0.33

	fmt.Println(m,h,g)
	fmt.Printf("m 数据类型:%T,g数据类型:%T\n",m,g)

	//科学计数法
	m1:=5.32e3
	m2:=5.323E3

	fmt.Println(m1,m2)

	m3:=534.323E-3

	fmt.Println(m3)
}